home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
qlib205.zip
/
QLIB.ZIP
/
TXT
/
OS.TXT
< prev
next >
Wrap
Text File
|
1997-06-17
|
576b
|
21 lines
OS detection
------------
During startup QLIB will try and detect the current OS.
_os_typ will hold what was detected.
_os_ver_major and _os_ver_minor will hold it's version
_dos_ver_major and _dos_ver_minor will always hold DOS's version
These are defined in os.h (and os.inc)
Name Description
---- -----------
OS_DOS MS-DOS
OS_WIN Windows 3.x
OS_WIN95 Windows NTv4.0/95
OS_WINNT Windows NTv3.x (v4.0 not detected yet)
OS_DV Desqview
OS_OS2 OS/2 (not detected yet)
As you can see some OSes are not yet detected. I need some code!